package com.library.domain.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author : 凉小天
 * @date : 2021/6/25 11:06
 * Serializable   序列化接口
 */

@Data
@TableName(value = "admin")
public class Admin implements Serializable {
    private static final long serialVerSionUID = 1L;

    //管理员编号
    @TableId(type = IdType.AUTO)
    private Long id;

    //用户名
    private String username;

    //密码
    private String password;
}